export function dispatchUpdateComponentConfig(editorKey, payload) {
  if (!this.currentComp) {
    return false;
  }
  // console.log(this.currentComp, editorKey, payload);
  switch (editorKey) {
    case "layout":
      this.currentComp.editors[editorKey].value = payload;
      break;
  }
}
